home *** CD-ROM | disk | FTP | other *** search
-
- CLR & COLOR
- -----------
-
- Purpose: COLOR sets the screen color attribute without overwriting
- the screen. CLR (for "CLEAR") clears the screen, sets the
- active page to 0, and sets the screen color attribute.
-
- Format: CLR [ss[,bb]]
-
- or
-
- COLOR [ss[,bb]]
-
- where ss is the number (in decimal) of the screen attribute,
- and bb is the number of the border color.
-
- Remarks: If no attribute is given, both CLR and COLOR default to #7,
- white on black.
-
- If attribute but no border color is given, the border will
- match the background of the screen.
-
- 0 (black on black) is not accepted as a screen attribute, but
- you can call for a 0 (black) border.
-
- Thus: COLOR 2 turns the screen (with what's on it) to green
- on black. CLR 96 clears the screen and turns it black on
- brown with a brown border. COLOR 96,2 produces a black on
- brown with a green border. CLR clears the screen and turns
- it white on black.
-
- NOTES:
-
- 1. COLOR works only on the first page (0) of the CGA.
- Dunno what it would do on an EGA, but it does nothing
- on a mono Text monitor.
-
- 2. CLR works on both CGA and the mono Text Monitor.
-
- 3. If you need help finding attribute numbers or chosing
- your colors, try COLRBITS
-
- ---Programmer: R. N. Wisan 9/7/86